﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StockTrading.Model
{
    public class Stock
    {
        [Column("id")]
        [Required]
        //股票id
        public int Id{ get; set; }

        [Column("name")]
        [Required]
        //股票名字
        public string Name { get; set; }

        public string CompanyDetails { get; set; }

        public string ServiceIntroduction { get; set; }

        public string ManagerDetail { get; set; }
    }
}
